package com.ctshk.rpc.scenic.req;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 门票抽奖种类表
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-02-18
 */
@Data
public class TicketTypeLuckDrawReq extends PageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "场次id")
    @ExcelProperty("场次id")
    private List<Long> ids;

    @ApiModelProperty(value = "场次代码")
    @ExcelProperty("场次代码")
    private String sessionCode;

    @ApiModelProperty(value = "比赛项目")
    @ExcelProperty(value = "比赛项目")
    private String discipline;

    @ApiModelProperty(value = "场次名称")
    @ExcelProperty("场次名称")
    private String sessionsName;

    @ApiModelProperty(value = "赛区")
    @ExcelProperty("赛区")
    private String competitionArea;

    @ApiModelProperty(value = "比赛日期")
    @ExcelProperty("比赛日期")
    private LocalDate competitionDate;

    @ApiModelProperty(value = "比赛开始日期")
    @ExcelProperty("比赛日期")
    private LocalDate competitionStartDate;

    @ApiModelProperty(value = "比赛结束日期")
    @ExcelProperty("比赛日期")
    private LocalDate competitionEndDate;

    @ApiModelProperty(value = "比赛时间")
    @ExcelProperty("比赛时间")
    private String competitionTime;

    @ApiModelProperty(value = "票价级别")
    @ExcelProperty("票价级别")
    private String fareBasis;

    @ApiModelProperty(value = "价格")
    @ExcelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty(value = "创建人")
    @ExcelProperty("创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    @ExcelProperty("修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    @ExcelProperty("删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "状态")
    @ExcelProperty("状态")
    private Integer status;

    //忽略属性
    @ApiModelProperty(value = "票数")
    @ExcelIgnore
    private Integer number;

    //忽略属性
    @ApiModelProperty(value = "uuid")
    @ExcelIgnore
    private String uuid;

    @ApiModelProperty(value = "赛区列表")
    @ExcelIgnore
    private List<String> competitionAreaList;

    @ApiModelProperty(value = "票价级别列表")
    @ExcelIgnore
    private List<String> fareBasisList;
}
